package com.homejoy.system.mapper;

import java.util.List;
import com.homejoy.system.domain.HomejoyPropertyFacility;

/**
 * 房源设施Mapper接口
 * 
 * @author homeJoy
 * @date 2025-11-08
 */
public interface HomejoyPropertyFacilityMapper 
{
    /**
     * 查询房源设施
     * 
     * @param facilityId 房源设施主键
     * @return 房源设施
     */
    public HomejoyPropertyFacility selectHomejoyPropertyFacilityByFacilityId(Long facilityId);

    /**
     * 查询房源设施列表
     * 
     * @param homejoyPropertyFacility 房源设施
     * @return 房源设施集合
     */
    public List<HomejoyPropertyFacility> selectHomejoyPropertyFacilityList(HomejoyPropertyFacility homejoyPropertyFacility);

    /**
     * 新增房源设施
     * 
     * @param homejoyPropertyFacility 房源设施
     * @return 结果
     */
    public int insertHomejoyPropertyFacility(HomejoyPropertyFacility homejoyPropertyFacility);

    /**
     * 修改房源设施
     * 
     * @param homejoyPropertyFacility 房源设施
     * @return 结果
     */
    public int updateHomejoyPropertyFacility(HomejoyPropertyFacility homejoyPropertyFacility);

    /**
     * 删除房源设施
     * 
     * @param facilityId 房源设施主键
     * @return 结果
     */
    public int deleteHomejoyPropertyFacilityByFacilityId(Long facilityId);

    /**
     * 批量删除房源设施
     * 
     * @param facilityIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHomejoyPropertyFacilityByFacilityIds(Long[] facilityIds);
}
